﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="Workflow.Default" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <title>工作流管理系统</title>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <link href="assets/css/dpl-min.css" rel="stylesheet" type="text/css" />
    <link href="assets/css/bui-min.css" rel="stylesheet" type="text/css" />
    <link href="assets/css/main-min.css" rel="stylesheet" type="text/css" />
    
   
</head>
<body onload="MyWorkflow()">
    <form id="form1" runat="server">
    <div class="header">
        <div class="dl-title">
            <!--<img src="/chinapost/Public/assets/img/top.png">-->
        </div>
        <div class="dl-log">欢迎您，<span class="dl-log-user"><%=user.DisplayName %></span>
        </div>
    </div>
    <div class="content">
        <div class="dl-main-nav">
            <div class="dl-inform"><div class="dl-inform-title"><s class="dl-inform-icon dl-up"></s></div></div>
            <ul id="J_Nav"  class="nav-list ks-clear">
                <li class="nav-item dl-selected"><div class="nav-item-inner nav-home">创建工作流</div></li>
                <li class="nav-item dl-selected"><div class="nav-item-inner nav-order">我的工作流</div></li>
                <%--<li class="nav-item dl-selected"><div class="nav-item-inner nav-order">权限</div></li>--%>
                <li class="nav-item dl-selected"><div class="nav-item-inner nav-order">查询</div></li>

            </ul>
        </div>
        <ul id="J_NavContent" class="dl-tab-conten">

        </ul>
        
    </div>
    <script type="text/javascript" src="assets/js/jquery-1.8.1.min.js"></script>
    <script type="text/javascript" src="assets/js/bui-min.js"></script>
    <script type="text/javascript" src="assets/js/common/main-min.js"></script>
    <script type="text/javascript" src="assets/js/config-min.js"></script>
    <script type="text/javascript" src="Scripts/MyJquery.js"></script>
    <script type="text/javascript" src="Scripts/Default.js"></script>
    <script>
        BUI.use('common/main', function () {
            var config = [
                {
                    id: '0',
                    //homePage:'0.1',
                    menu: [{
                        text: '创建工作流',
                        items: [
                                //{ id: '0.1', text: '报价工作流', href: 'AddInfo.aspx?WorkMouldId=1' },
                                //{ id: '0.2', text: '主数据工作流', href: 'AddInfo.aspx?WorkMouldId=2' },
                                //{ id: '0.3', text: 'Bug工作流', href: 'AddInfo.aspx?WorkMouldId=3' },
                        { id: '0.4', text: '报价工作流(新)', href: 'AddInfo.aspx?WorkMouldId=4' },
                        //{ id: '0.5', text: '模具号自动生成', href: 'AddInfo.aspx?WorkMouldId=5' },
                        { id: '0.6', text: '项目工作流', href: 'ProjectAddList.aspx' }
                        ]
                    }],
                },
                {
                    id: '1',
                    homePage: '1.1',
                    menu: [{
                        text: '我的工作流',
                        items: [{ id: '1.1', text: '待处理', href: 'Status.aspx?statusDefine=0' },
                            { id: '1.2', text: '进行中', href: 'Status.aspx?statusDefine=1' },
                            //{id: '1.3', text: '待审批', href: 'Review.aspx?StatusNo=1' },
                            { id: '1.4', text: '已完成', href: 'Status.aspx?statusDefine=100' }]
                    }]
                },
                //{
                //    id: '2',
                //    homePage: '2.1',
                //    menu: [{
                //        text: '权限',
                //        items: [{ id: '2.1', text: '权限查询', href: 'AuthoritySearch.aspx' }]
                //    }]
                //},
                {
                    id: '3',
                    homePage: '3.1',
                    menu: [{
                        text: '查询',
                        items: [{ id: '3.1', text: '专案号查询', href: 'GetNum/SpecialCase.aspx' },
                                { id: '3.2', text: '报价查询', href: 'BaoJia/SearchBaoJia.aspx' }]
                    }]
                }
            ];
            new PageUtil.MainPage({
                modulesConfig: config
            });
        });
    </script>
    <script>

        //function AutoClick() {
        //    $.ajax({
        //        type: "get",
        //        data: { "name": "other" },
        //        url: "Default.aspx",
        //        success: function (data) {
        //            window.location = "Default.Aspx#2/2.1";
        //        }
        //    });
        //    return false;
        //}
    </script>
    <div style="text-align:center;">
        
    </div>
   
    </form>
</body>
</html>
